package 进阶.线程.多线程;

public class demo02_Thread {
    public static void main(String[] args) {
        //3.创建一个子类的实现类
        My_Thread my_thread = new My_Thread();
        //4.调用start方法，间接执行run方法
        my_thread.start();

        for (int i = 0; i < 50; i++) {
            System.out.println("主线程的第"+ i+"次");
        }
    }
}
